//
//  WBStatusToolbar.swift
//  Weibo
//
//  Created by kobe on 2016/12/26.
//  Copyright © 2016年 kobe. All rights reserved.
//

import UIKit

class WBStatusToolbar: UIView {

    var viewModel:WBStatusViewModel? {
        didSet {
//            retweetedButton.setTitle("\(viewModel?.status.reposts_count)", for: [])
//            retweetedButton.setTitle("\(viewModel?.status.comments_count)", for: [])
//            retweetedButton.setTitle("\(viewModel?.status.attitudes_count)", for: [])
            retweetedButton.setTitle(viewModel?.retweetedStr, for: [])
            retweetedButton.setTitle(viewModel?.commentsStr, for: [])
            retweetedButton.setTitle(viewModel?.likeStr, for: [])
        }
    }
    
    @IBOutlet weak var retweetedButton: UIButton!
    @IBOutlet weak var commentButton: UIButton!
    @IBOutlet weak var likeButton: UIButton!

    
    
    
}
